package approvalactivity;

import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.ronipl.createtabs.R;

public class ApproveDialog extends DialogFragment {

	/*public Dialog OnCreateDialog(Bundle savedInstanceSate) {

		AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
		LayoutInflater inflater = getActivity().getLayoutInflater();
		View rootView = inflater.inflate(R.layout.approve_dialog, null);
		Builder.setView(rootView);
		
		builder.setTitle("Select action");
		builder.setMessage("Some button here");
		
		Dialog dialog = builder.create();
		return dialog;

	}*/
	
	
	  @Override public View onCreateView(LayoutInflater inflater, ViewGroup
	  container, Bundle savedInstanceState) { View rootView =
	  inflater.inflate(R.layout.approve_dialog, null); 
	  getDialog().setTitle("Choose actions");
	  
	   return rootView; }
	 

}
